package com.topboya.linker.model.levelitem;

import com.topboya.linker.model.response.DeptUserResponse;
import com.topboya.linker.ui.activity.SelectTeamActivity;

import java.io.Serializable;
import java.util.List;

public class DepartmentGroupBo implements Serializable {

    private String memberID;
    List<DeptUserResponse.DeptUserList> deptUserListss;
    List<DeptUserResponse.SubDeptList> subDeptListss;
    private String deparemtname;
    private boolean isSub;
    //    记录数据在哪一层
//    记录每一层孩子为成员的总数，为部门不计算在其中
    private String totalnum;
//    记录被选中的孩子的个数
    private String selectedNum;
    private boolean isCheked;

//    保存上一层
     List<DepartmentGroupBo> departmentGroupBosPs;
//    保存下一层
    List<DepartmentGroupBo> departmentGroupBosCd;
//   保存直接父结点
    DepartmentGroupBo departmentGroupBoP;

    public String getMemberID() {

        return memberID;
    }

    public void setMemberID(String memberID) {

        this.memberID = memberID;
    }

    public DepartmentGroupBo getDepartmentGroupBoP() {
        return departmentGroupBoP;
    }

    public void setDepartmentGroupBoP(DepartmentGroupBo departmentGroupBoP) {
        this.departmentGroupBoP = departmentGroupBoP;
    }

    public String getDeparemtname() {
        return deparemtname;
    }

    public void setDeparemtname(String deparemtname) {
        this.deparemtname = deparemtname;
    }

    public boolean isSub() {
        return isSub;
    }

    public void setSub(boolean sub) {
        isSub = sub;
    }

    public List<DeptUserResponse.DeptUserList> getDeptUserListss() {
        return deptUserListss;
    }

    public void setDeptUserListss(List<DeptUserResponse.DeptUserList> deptUserListss) {
        this.deptUserListss = deptUserListss;
    }

    public List<DeptUserResponse.SubDeptList> getSubDeptListss() {
        return subDeptListss;
    }

    public void setSubDeptListss(List<DeptUserResponse.SubDeptList> subDeptListss) {
        this.subDeptListss = subDeptListss;
    }

    public boolean isCheked() {

        return isCheked;
    }

    public void setCheked(boolean cheked) {
        isCheked = cheked;
    }

    public List<DepartmentGroupBo> getDepartmentGroupBosPs() {
        return departmentGroupBosPs;
    }

    public void setDepartmentGroupBosPs(List<DepartmentGroupBo> departmentGroupBosPs) {
        this.departmentGroupBosPs = departmentGroupBosPs;
    }

    public List<DepartmentGroupBo> getDepartmentGroupBosCd() {
        return departmentGroupBosCd;
    }

    public void setDepartmentGroupBosCd(List<DepartmentGroupBo> departmentGroupBosCd) {
        this.departmentGroupBosCd = departmentGroupBosCd;
    }

    public String getTotalnum() {
        return totalnum;
    }

    public void setTotalnum(String totalnum) {
        this.totalnum = totalnum;
    }

    public String getSelectedNum() {
        return selectedNum;
    }

    public void setSelectedNum(String selectedNum) {
        this.selectedNum = selectedNum;
    }

    @Override
    public String toString() {
        return "DepartmentGroupBo{" +
                ", deparemtname='" + deparemtname ;

    }
}
